import axios from '../config/axiosConfig'
export const getNewLink = function () {
  return new Promise((r)=>{
    axios.post(CUSTOM_SERVICE_URL + "quickUrl/queryQuickUrl").then((res)=> {
      let data = res.data;
      if (data.status === 'SUCCESS' && data.body.length > 0) {
          r(data.body);
      }
    });
  })
}
